@import "./mixin";
@import"./cssreset";

// 热卖推荐，划过换一换

// .hot_sale{
//     background-color: lightgray;
//     width:1200px;
//     height:500px;
//     margin: 0 auto;
//     margin-top:40px;
// }
.hot_sale{
    // background-color: chartreuse;
    width:1200px;
    height: 821px;
    margin: 0px auto 100px;
    margin-top: 40px;
    clear: both;
    overflow: hidden;
    position: relative;
    // 按钮
    .hot_sale_title{
        width: 1200px;
        height: 37px;
        border-bottom: 1px solid #c81623;
        // float: left;
        span{
            display: inline-block;
            background-image: url(	https://www.7hua.com/Tpl/2016skin/Public/images/fico.jpg);
            height: 31px;
            width: 36px;
            background-position: 0 -63px;
            float: left;
        }
        h2{
            padding-left: 5px;
            font-weight: 500;
            float: left;
            display: inline;
            line-height: 30px;
            font-size: 20px;
            color: #333;
        }
        .tabDiv{
            display: inline;
            float:right;
            border: solid 1px #ededed;
            border-bottom: 0 none;
            height: 34px;
            line-height: 34px;
            z-index: 1;
            // font: 12px/150% Arial,Verdana,"\5b8b\4f53";
            .tab_item{
                width: 24%;
                text-align: center;
                float: left;
                display: inline;
                height: 34px;
                position: relative;
                font-size: 16px;
                line-height: 34px;
                cursor: pointer;
                &:hover{
                    border: 2px solid red;
                    border-bottom: 2px solid white;
                }
                i{
                margin-left: 10px;
                }
                .shugang{
                    width:0;
                    height:20px;
                    border: 1px solid red;
                }
            }
        }
    }

    // 选项
    .tab_content{
        display: none;
        opacity: 0;
        position: absolute;
        left: 0;
        top: 37px;
    }
    .tab_content.active{
        opacity: 1;
        display: block;
        width:1200px;
        height:780px;
        margin-top:1px;
        border-right:1px solid #dfdfdf;
        // ul，下面就是图片了
        .tab_content_selected{
            display: block;
            position: relative;

            // 第一张大图
            .tab_first{
                width:598px;
                height:390px;
                float: left;
                border-left: 1px solid #dfdfdf;
                border-bottom: 1px solid #dfdfdf;
                .tab_first_left{
                    width:50%;
                    height:390px;                    float: left;
                    img{
                        width:100%;
                        height:70%;
                        margin-top: 15%;
                    }
                }
                .tab_first_right{
                    margin-top: 110px;
                    font-weight: 500;
                    color: #333;
                    float: left;
                    .miaoshu{
                        font-size: 15px;
                        color: #666;
                        margin-top: 20px;
                        width: 200px;
                    }
                    .proprice{
                        font-size: 25px;
                        color: #F00;
                        width: 200px;
                        font-weight: 500;
                        line-height: 40px;
                        margin-top: 30px;
                        a{
                            font-size: 14px;
                            background-color: #D91B25;
                            line-height: 32px;
                            color: #FFF;
                            border-radius: 3px;
                            padding: 0px 12px;
                            float: right;
                        }
                    }
                }
            }

            // 后面小图
            
            .tab_ec_first{
                width: 298px;
                height: 390px;
                float: left;
                background-color: #FFF;
                text-align: center;
                border-left: 1px solid #dfdfdf;
                border-bottom: 1px solid #dfdfdf;
                // background-color: red;
                position: relative;
                .mo{
                    width: 290px;
                    height: 382px;
                    position: absolute;
                    left: 0;
                    top: 0;
                    z-index: 1000;
                    &:hover{
                        border: 4px pink solid;
                    }
                }
                .tab_ec_img{
                    border:0px;
                    img{
                        width:100%;
                        height:100%
                    }
                    .tab_ec_num{
                        font-size:14px;
                        height:40px;
                        line-height:20px;
                        color:#333;
                        width:300px;
                        margin:0 auto;
                        text-align: center;
                    }
                    .tab_ec_qian{
                        font-size: 25px;
                        color: #F00;
                        font-weight: 500;
                        line-height: 40px;
                    }
                }
                
            }
        }
        
    }
}